<template>
  <div class="notfound">
    <div class="img_wrapper">
      <img src="../assets/404.png" alt />
      <Button type="primary" size="large" class="tohome" to='/'>回到首页</Button>
    </div>
  </div>
</template>

<script>
export default {
  name: "notfound",
  data() {
    return {};
  }
};
</script>

<style lang="scss">
.notfound {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  .img_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 4.5rem;
    height: 50vh;
    img {
      width: 30rem;
      max-width: 70%;
    }
    .tohome{
      margin-top: 1rem;
    }
  }
}
</style>